package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import lombok.Data;

/**
 * cences_click
 * @author 
 */
@Data
@ApiModel("")
public class CencesClick implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * 安装渠道
     */
    @ApiModelProperty("安装渠道")
    private String brand;

    /**
     * 1新用户0老用户
     */
    @ApiModelProperty("1新用户0老用户")
    private Integer category;

    /**
     * 签到数
     */
    @ApiModelProperty("签到数")
    private Integer clickCount;

    /**
     * 签到金额
     */
    @ApiModelProperty("签到金额")
    private BigDecimal clickRebate;

    private Integer sdkKey;

    /**
     * 1总计0分渠道
     */
    @ApiModelProperty("1总计0分渠道")
    private Integer type;

    /**
     * 应用id
     */
    @ApiModelProperty("应用id")
    private Integer appId;


    public CencesClick(int i, String appStore, int time, int category,Integer sdkKey,int type,Integer appId) {
        BigDecimal o=new BigDecimal(i);
        this.clickCount = i;
        this.clickRebate = o;
        this.brand=appStore;
        this.time=time;
        this.category=category;
        this.createTime= LocalDate.now();
        this.sdkKey=sdkKey;
        this.type=type;
        this.appId=appId;
    }
    public CencesClick(){};

    private static final long serialVersionUID = 1L;
}